import styled from 'styled-components'
import share from '@/assets/images/sale/share.png'

export const DetailStyle = styled.div`
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  background-color: white;
  position: relative;
  /* .am-popover-inner-wrapper{
    background-color: black;
  } */
  .mainTitle{
    font-weight: bold;
  }
  .pro_img{
    width: 80%;
    margin:0 auto;
    img{
      width: 100%;
    }
  }
  .pro_title{
    box-sizing: border-box;
    padding: 0 10px;
    margin: 10px 0 20px 0;
    .n-font{
      color: #333333;
      font-size: 17px;
    }
    .cr{
      color: red;
    }
  }
  .goods-detail-box{
    box-sizing: border-box;
    padding: 0 12px;
    p{
      line-height: 30px;
      font-size: 15px;
      >a{
        display: inline-block;
        width: 100%;
        img{
          width: 100%;
        }
      }
    }
  }
  .goods-detail{
    margin-top: 20px;
  }
  .comment{
    box-sizing: border-box;
    padding: 0 20px;
    h5{
      font-weight: normal;
      font-size: 17px;
    }
    .am-list-item{
      padding-left: 0;
    }
    textarea{
      border: 1px solid #ebebeb;
      background: #fcfcfc;
      font-size: 14px;
      box-sizing: border-box;
      padding: 5px 5px;
    }
  }
  .comment-newest{
    box-sizing: border-box;
    padding: 20px 20px 0 20px;
    clear: both;
    .tit{
      border-top: 1px solid #e6e6e6;
      height: 40px;
      line-height: 40px;
      color: #d33333;
      font-size: 15px;
      span{
        i{
          color: #999;
          margin-left: 5px;
        }
      }
    }
    .null{
      border-top: 1px solid #e6e6e6;
      border-bottom: 1px solid #e6e6e6;
      height: 50px;
      line-height: 30px;
      color: #999;
      font-size: 14px;
      padding-left: 20px;
    }
  }
  .footer{
    margin-top: 40px;
    background: #f7f7f7;
    padding-top: 20px;
    padding-bottom: 59px;
    .bottom-title{
      ul{
        display: flex;
        justify-content: center;
        li{
          width: 70px;
          border-right: 1px solid #e6e6e6;
          text-align: center;
          overflow: hidden;
          color: #999;
          a{
            color: #999;
            font-size: 14px;
          }
        }
        li:nth-last-of-type(1){
          border: none;
        }
      }
    }
    p{
      margin-top: 10px;
      text-align: center;
      color: #999;
    }
  }
  .footer-fix{
    position: fixed;
    bottom: 0;
    height: 49px;
    width: 100%;
    border-top: 1px solid #F0F0F0;
    background: #fafafa;
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
    padding: 0 10px;
    align-items:center;
    a{
      display: inline-block;
      border-right: 1px solid #F0F0F0;
      padding-right: 15px;
      .icon{
        width: 18px;
        height: 18px;
        background: url(${share});
        background-repeat: no-repeat;
        margin-left: 5px;
        background-size:cover;
      }
      .txt{
        color: #999;
      }
    }
  }
`